package com.example.demo.waiguan;

/**
 * @Description
 * @Author youxin
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2022/1/17
 */
public class DVDPlyer {
    private static DVDPlyer dvdPlyer=new DVDPlyer();
    private DVDPlyer(){}
    public static DVDPlyer getDvdPlyer(){
        return dvdPlyer;
    }

    public void ready(){
        System.out.println("DVD准备");
    }
    public void play(){
        System.out.println("DVD打开");
    }
    public void off(){
        System.out.println("DVD关闭");
    }
}
